package com.wlcorp.forcazamis.business.message;

import java.util.List;

import com.ibatis.dao.client.DaoException;
import com.wlcorp.forcazamis.domain.message.Message;
import com.wlcorp.forcazamis.domain.message.MessageStaff;
import com.wlcorp.forcazamis.domain.system.Staff;

public interface IMessageService {

	public List<Message> getMessageList(Message message) throws DaoException;
	public Message getMessageById(Long messageId) throws DaoException;
//	public void deleteMessage(Message message) throws DaoException;
	public void saveMessage(Message message) throws DaoException;
	public Long getMaxMessageId() throws DaoException;

	public List<MessageStaff> getMessageStaffList(MessageStaff messageStaff) throws DaoException;
	public MessageStaff getMessageStaffById(Long messageStaffId) throws DaoException;
	public void deleteMessageStaff(MessageStaff messageStaff) throws DaoException;
	public void saveMessageStaff(MessageStaff messageStaff) throws DaoException;
	public Integer getUnReadMessageAmount(Staff staff) throws DaoException;
}
